package com.zy.exception;

import java.util.Date;

/**
 * @Author Gong
 * @Description
 * @dATE 2021/12/7 15:40
 **/
public class CastException {
    public static void main(String[] args) {
        Object obj = new Date();
        CastException person;
        person = (CastException)obj;
        System.out.println(person);
    }

}
